/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pradoeditor.projectexplorer.menu;

import pradoeditor.projectexplorer.menuitem.MenuDelete;
import pradoeditor.projectexplorer.menuitem.MenuNewItem;

/**
 *
 * @author jaime
 */
public class PopupMenuFolder extends PopupMenu
{
    MenuDelete mnuDelete = new MenuDelete();
    MenuNewItem mnuNewItem = new MenuNewItem();

    public PopupMenuFolder()
    {
        add(mnuNewItem);
        add(mnuDelete);
    }

    @Override
    public void setInitSubMenu()
    {
        mnuNewItem.setItemProject(getItemProject());
        mnuDelete.setItemProject(getItemProject());
    }
}
